﻿
namespace Service.src.NW.Enum
{
    public enum RuntimeErrorCodeEnum
    {
        IGNORE = -9999,
        DEFAULT = 0,
        SUCCESS = 1,
        DEVICE_NOT_CONNECT = 100, // 设备连接异常
        DEVICE_PLC_ADDRESS = 200,
        NODE_INPUT_PARAM_NULL = 10000, // 参数为空异常
        NODE_INPUT_PARAM_MIN_MAX = 10100,
        NODE_INPUT_PARAM_ESTABLISHED = 10105,
        NODE_INPUT_PARAM_TRIGGER = 10110,
        NODE_INPUT_PARAM_DATASOURCE = 20000,
        NODE_INPUT_REFERENCE_EXCEPTION = 30000, // 参数引用异常
        NODE_OUT_DATA_NOT_MATCH = 40000, // 设备输出参数不匹配
        NODE_SCRIPT_RUN_ERROR = 41000, // 脚本错误
    }
}
